package com.xuecheng.api.media;


import com.xuecheng.api.media.model.po.QueryMediaModel;
import com.xuecheng.api.media.model.vo.MediaAuditVO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

/**
 * <p></p>
 *
 * @Description:
 */
public interface MediaAuditApi {

    @ApiOperation("获得媒资信息预览资源地址-运营")
    @ApiImplicitParam(name="mediaId",value = "媒资id值",required = true,dataType = "Long",paramType = "path")
    String previewMedia(Long mediaId);

    @ApiOperation("媒资信息分页查询-运营")
    @ApiImplicitParams({
            @ApiImplicitParam(value = "model",dataType = "QueryMediaModel",paramType = "body")
    })
    PageVO queryMediaList(PageRequestParams params, QueryMediaModel model);

    /**
     * 媒资信息审核-运营
     * @param auditVO VO封装类
     */
    void approveCourse(MediaAuditVO auditVO);

}
